<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>网络安全测试</title>
</head>
<body>
<script>
function c (e) {
  console.log('123:',123)
  console.log('e:',e)
  let val = document.getElementById('inp').value
  console.log('val:',val)
  document.body.innerHTML+=val
}
</script>
<!--<h1><script>alert('123')</script> 123</h1>-->
<!--<img src="https://www.baidu.com/img/PCfb_5bf082d29588c07f842ccde3f97243ea.png" onclick="alert('123')" alt="">-->
  <input type="text" id="inp">
  <a onclick="c()">提交</a>
<script>
let url = `http://192.168.75.164/upload/image/2020-11/1604481743474.png`
let end = url.substring(url.indexOf('/upload'))
let tar_url = `/home/AppPackage${end}`
console.log('tar_url:',tar_url)

</script>
</body>
</html>

